System.InvalidOperationException:  {"Cross-thread operation not valid: Control 'lstStatus' accessed from a thread other than the thread it was created on."}

Hello guys,

I am making a project in VB.NET. I am using https://msdn.microsoft.com/en-us/library/aa478452.aspx as a starting point.

I need to  make a project on a Server/Client chat Application. I have followed all what the tutorial says, but i keep getting an invalidOperationException. It says, cross-thread operation not valid.

The program in the above program was written in 2001. i am using Visual Studio 2015. So I am not surprised i am gettign errors. But can anyone please help me correct it. I am an amateur, so please be clear and simple.

Thank you,

Clinton.

August 31st, 2015 5:30am

This is a Visio forum, you want one for Visual Studio

https://social.msdn.microsoft.com/Forums/vstudio/en-US/home

Free Windows Admin Tool Kit Click here and download it now
September 1st, 2015 4:40am

Thank you, Sir.
September 1st, 2015 8:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics